<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 
	class Character_lib {
		private $data = array();
		
		public function __set($name, $value) {
			$this->data[$name] = $value;
		}
		
		public function __get($name) {
			if(array_key_exists($name, $this->data)) {
				return $this->data[$name];
			} else {
				return false;
			}
		}
	}
?>